package com.chenglu.android.cart.bean;


import java.util.List;

/**
 * @author: lyj
 * @Created: by Copyright 2023/3/28 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description：购物车实体类
 */
public class CartBean {

    private Integer code;
    private List<Data> data;
    private String msg;
    private Boolean success;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public static class Data {
        private Boolean dadaBind;
        private double discountAmount;
        private List<DiscountConfigList> discountConfigList;
        private List<ShoppingTrolleyVOList> shoppingTrolleyVOList;
        private Integer shopsTypeId;
        private String tenantId;
        private String tenantName;
        private String totalAmount;
        private String totalPrice;
        //是否营业中 0-筹备中 1-营业中 2-休息中 3-暂停营业
        private Integer isOpen;

        public Integer getIsOpen() {
            return isOpen;
        }

        public void setIsOpen(Integer isOpen) {
            this.isOpen = isOpen;
        }

        private int number;

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(String totalPrice) {
            this.totalPrice = totalPrice;
        }

        //选择
        boolean isSellerCheck;
        public boolean isSellerCheck() {
            return isSellerCheck;
        }

        public void setSellerCheck(boolean sellerCheck) {
            isSellerCheck = sellerCheck;
        }



        public Boolean getDadaBind() {
            return dadaBind;
        }

        public void setDadaBind(Boolean dadaBind) {
            this.dadaBind = dadaBind;
        }

        public double getDiscountAmount() {
            return discountAmount;
        }

        public void setDiscountAmount(double discountAmount) {
            this.discountAmount = discountAmount;
        }

        public List<DiscountConfigList> getDiscountConfigList() {
            return discountConfigList;
        }

        public void setDiscountConfigList(List<DiscountConfigList> discountConfigList) {
            this.discountConfigList = discountConfigList;
        }

        public List<ShoppingTrolleyVOList> getShoppingTrolleyVOList() {
            return shoppingTrolleyVOList;
        }

        public void setShoppingTrolleyVOList(List<ShoppingTrolleyVOList> shoppingTrolleyVOList) {
            this.shoppingTrolleyVOList = shoppingTrolleyVOList;
        }

        public Integer getShopsTypeId() {
            return shopsTypeId;
        }

        public void setShopsTypeId(Integer shopsTypeId) {
            this.shopsTypeId = shopsTypeId;
        }

        public String getTenantId() {
            return tenantId;
        }

        public void setTenantId(String tenantId) {
            this.tenantId = tenantId;
        }

        public String getTenantName() {
            return tenantName;
        }

        public void setTenantName(String tenantName) {
            this.tenantName = tenantName;
        }


        public String getTotalAmount() {
            return totalAmount;
        }

        public void setTotalAmount(String totalAmount) {
            this.totalAmount = totalAmount;
        }

        public static class DiscountConfigList {
            private String createTime;
            private String discountName;
            private String discountPrice;
            private Integer discountType;
            private String id;
            private Integer isDeleted;
            private String targetPrice;
            private String tenantId;
            private String updateTime;

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getDiscountName() {
                return discountName;
            }

            public void setDiscountName(String discountName) {
                this.discountName = discountName;
            }

            public String getDiscountPrice() {
                return discountPrice;
            }

            public void setDiscountPrice(String discountPrice) {
                this.discountPrice = discountPrice;
            }

            public Integer getDiscountType() {
                return discountType;
            }

            public void setDiscountType(Integer discountType) {
                this.discountType = discountType;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Integer getIsDeleted() {
                return isDeleted;
            }

            public void setIsDeleted(Integer isDeleted) {
                this.isDeleted = isDeleted;
            }

            public String getTargetPrice() {
                return targetPrice;
            }

            public void setTargetPrice(String targetPrice) {
                this.targetPrice = targetPrice;
            }

            public String getTenantId() {
                return tenantId;
            }

            public void setTenantId(String tenantId) {
                this.tenantId = tenantId;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }
        }

        public static class ShoppingTrolleyVOList {
            private String categoryId;
            private String categoryIds;
            private String createTime;
            private int goodsAmount;
            private String goodsId;
            private String goodsImg;
            private String goodsName;
            private String goodsPrice;
            private String goodsSkuId;
            private String goodsSkuSpec;
            private String id;
            private Integer inventory;
            private Boolean isCollect;
            private Integer isSpec;
            private Integer shopsTypeId;
            private Integer status;
            private String tenantId;
            private String userId;

            private int goodsNum;

            public int getGoodsNum() {
                return goodsNum;
            }

            public void setGoodsNum(int goodsNum) {
                this.goodsNum = goodsNum;
            }



            boolean isSellerItemCheck;

            public Boolean getCollect() {
                return isCollect;
            }

            public void setCollect(Boolean collect) {
                isCollect = collect;
            }

            public boolean isSellerItemCheck() {
                return isSellerItemCheck;
            }

            public void setSellerItemCheck(boolean sellerItemCheck) {
                isSellerItemCheck = sellerItemCheck;
            }

            public String getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public String getCategoryIds() {
                return categoryIds;
            }

            public void setCategoryIds(String categoryIds) {
                this.categoryIds = categoryIds;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getGoodsAmount() {
                return goodsAmount;
            }

            public void setGoodsAmount(int goodsAmount) {
                this.goodsAmount = goodsAmount;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsImg() {
                return goodsImg;
            }

            public void setGoodsImg(String goodsImg) {
                this.goodsImg = goodsImg;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsPrice() {
                return goodsPrice;
            }

            public void setGoodsPrice(String goodsPrice) {
                this.goodsPrice = goodsPrice;
            }

            public String getGoodsSkuId() {
                return goodsSkuId;
            }

            public void setGoodsSkuId(String goodsSkuId) {
                this.goodsSkuId = goodsSkuId;
            }

            public String getGoodsSkuSpec() {
                return goodsSkuSpec;
            }

            public void setGoodsSkuSpec(String goodsSkuSpec) {
                this.goodsSkuSpec = goodsSkuSpec;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Integer getInventory() {
                return inventory;
            }

            public void setInventory(Integer inventory) {
                this.inventory = inventory;
            }

            public Boolean getIsCollect() {
                return isCollect;
            }

            public void setIsCollect(Boolean isCollect) {
                this.isCollect = isCollect;
            }

            public Integer getIsSpec() {
                return isSpec;
            }

            public void setIsSpec(Integer isSpec) {
                this.isSpec = isSpec;
            }

            public Integer getShopsTypeId() {
                return shopsTypeId;
            }

            public void setShopsTypeId(Integer shopsTypeId) {
                this.shopsTypeId = shopsTypeId;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public String getTenantId() {
                return tenantId;
            }

            public void setTenantId(String tenantId) {
                this.tenantId = tenantId;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }
        }
    }
}
